package com.xyoto.takeawayBusiness.mapper;

import com.xyoto.takeawayBusiness.entity.Audit;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Administrator
 */
@Mapper
public interface AuditMapper {

    /**
     * 通话手机号获取审核状态
     *
     * @param phone 手机号
     * @return
     */
    Short getAuditStatus(String phone);

    /**
     * 新增审核
     *
     * @param audit 审核实体
     * @return
     */
    Integer saveAudit(Audit audit);
}
